/*
 * Copyright 1998-2011 by SLIB,
 * 70 rue Villette, 69003 Lyon, France
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of SLIB. (&quot;Confidential Information&quot;).  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with SLIB.
 */
package com.petot.claude.gwt.example.client.request;

import java.util.List;

import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;
import com.petot.claude.gwt.example.server.service.PersonService;
import com.petot.claude.gwt.example.shared.proxy.PersonProxy;

@Service( value = PersonService.class )
public interface PersonRequest extends RequestContext {

    abstract Request<Long> count();

    abstract Request<List<PersonProxy>> findAll();

    abstract Request<PersonProxy> find();

    abstract Request<Void> create( PersonProxy pEntity );
}
